home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / C++ AppleLink Messages / CPlus.Dev$ 3⁄16⁄90 / 0078-Dead Code Stripping -Mar90 < prev    next >
Encoding:
Text File  |  1990-03-16  |  651 b   |  22 lines  |  [TEXT/GEOL]

  1. Item    4469882                         15-March-90        02:11PST
  2.  
  3. From:   NAUTIL                          France - Dev, Nautil Info Lyon,IDV
  4.  
  5. To:     CPLUS.APPLE$                    C++ Interest List--Apple Employees
  6.         CPLUS.DEV$                      C++ Interest List--Developers
  7.  
  8. Sub:    Dead Code Stripping with C++
  9.  
  10. Is it necessary to keep in memory one instance of each "dead strip candidate"
  11. class?
  12. Could the sample in "Release Notes, Preliminary C++ Interfaces For MacApp
  13. 2.0ß9" p.3, be written:
  14.  
  15. if (gDeadStripSuppression) {
  16.     TFoo* aFoo = new TFoo; aFoo.Free;
  17.     TFoo2* aFoo2 = new TFoo2; aFoo2.Free;
  18. }
  19.  
  20. Etienne Vautherin
  21.  
  22.